package com.mvc.beans;

import java.sql.Date;

/**
 * @author a1926
 * 一个员工
 */
public class Employee {

    public static final Integer EMPLOYEEID_LENGTH = 10;
    private Integer employeeId;
    private String passWord;
    private String employeeName;
    private String head;
    private Integer sex;
    private String phoneNumber;
    private String email;
    private Float currentSalary;
    private String department;
    private String job;
    private Date entryTime;
    private Integer state;



    public Employee(){

    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Float getCurrentSalary() {
        return currentSalary;
    }

    public void setCurrentSalary(Float currentSalary) {
        this.currentSalary = currentSalary;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Date getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Employee(Integer employeeId, String passWord, String employeeName, String head, Integer sex, String phoneNumber, String email, Float currentSalary, String department, String job, Date entryTime, Integer state) {
        this.employeeId = employeeId;
        this.passWord = passWord;
        this.employeeName = employeeName;
        this.head = head;
        this.sex = sex;
        this.phoneNumber = phoneNumber;
        this.email = email;
        this.currentSalary = currentSalary;
        this.department = department;
        this.job = job;
        this.entryTime = entryTime;
        this.state = state;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "employeeId='" + employeeId + '\'' +
                ", passWord='" + passWord + '\'' +
                ", employeeName='" + employeeName + '\'' +
                ", head='" + head + '\'' +
                ", sex=" + sex +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", email='" + email + '\'' +
                ", currentSalary=" + currentSalary +
                ", department='" + department + '\'' +
                ", job='" + job + '\'' +
                ", entryTime=" + entryTime +
                ", state=" + state +
                '}';
    }
}
